repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Solving 10385 - Duathlon (Ternary search)
[andmenj-acm.git]
/
12324 - Philip J. Fry Problem
/
gen.rb
blob
3ba05068b0689e700a9f5f9e7902c5307d94ee9c
1
n = 4
2
100.times do
3
puts n
4
n.times do
5
t = rand(50) * 2
6
b = rand(3)
7
puts "#{t} #{b}"
8
end
9
end
10
puts 0